﻿@model IEnumerable<orienta.Models.ORIMaeDependencia>
@{
    Layout = "~/Views/Shared/_LayoutPopupDependencia.cshtml";
    ViewBag.Title = "Codigos";
    int cont = 1;
}
<link type="text/css" rel="stylesheet" href="@Url.Content("~/css/grilla.css")" />
<script src="@Url.Content("~/js/dependencias.js")" type="text/javascript">
</script>
<table class="tablaInterna_MIDIS" border="1">
<thead>
    <tr>
        <th>
            &nbsp;
        </th>
        <th>
            Dependencia 
        </th>
        <th>
            C&oacute;digo
        </th>
    </tr>
</thead>
<tbody>
@foreach (var item in Model) {
    <tr>
        <td>
            @cont
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.vDescripcion)
        </td>
        <td>
            <a href="javascript:getCodigoDependencia('@item.nCodDep');">@item.nCodDep</a>
        </td>
    </tr>
    cont = cont + 1;
}
</tbody> 
</table>
